<?php

require_once(APP_DEFAULT_PST . "select.php");

if (!class_exists("PST_USER")) {

    class PST_USER extends PST_SELECT {

        public function __construct($settings) {
            $this->model = "User";
            $this->plugin = "Admin";

            parent::__construct($settings);

            if (isset($this->classparams["force"]) && $this->classparams["force"] && isset($this->view)) {
                $this->value = $this->view->viewVars['USER']['id'];
            }
        }        

    }

}
